package com.kintreda.ieco_server.module.order.service;

import com.kintreda.ieco_server.bean.user.Statistics;
import com.kintreda.ieco_server.core.service.IBaseService;
import com.kintreda.ieco_server.core.web.R;

/**
 * @Created by IntelliJ IDEA
 * @Project_Name ieco_server
 * @Package com.kintreda.ieco_server.module.order.service
 * @Author ZhongYao_H
 * @Date 2019/4/28:16:41
 * @Year 2019 Month 04 Day 28
 * @Date_zh 2019 年 四月 星期日
 */
public interface IStatisticsService extends IBaseService<Statistics,String> {

    Statistics getByUserId(String userId);

    Statistics getByUserIdAndType(String userId,String type);

    Statistics getByOrgId(String orgId);

    Statistics getOrgStatistics(String orgId);

    R wallte(String openid , String money,String type,String account,String name,String walletType) throws Exception;
}
